import {
	HTTP
} from "../../utils/http.js";

class SignUpModel extends HTTP {
	//获取学校基本信息,编辑使用
	getStudentApi(data) {
		return this.request({
			url: "/wx/student/getStudent",
			data: data,
		})
	}
	//获取所有学员列表
	getAllStudentListAPI(data) {
		return this.request({
			url: "/wx/student/allStudentList",
			data: data,
			method: "GET"
		})
	}
	//获取已报名学员列表
	getAllStudentAPI(data) {
		return this.request({
			url: "/wx/student/allStudent",
			data: data,
			method: "GET"
		})
	}
	//获取学员信息
	getStudentInfoAPI(data) {
		return this.request({
			url: "/wx/student/applicationOne",
			data: data,
		})
	}
	//获取课程列表
	getCourseListAPI(data) {
		return this.request({
			url: "/wx/course/list",
			data: data,
			method: "GET"
		})
	}

	//获取支付方式
	getPayTypeAPI(data) {
		return this.request({
			url: "/wx/label/classRoomList",
			data: data,
		})
	}
	//获取业绩归属人
	getPerformanceListAPI(data) {
		return this.request({
			url: "/wx/Staff/performanceList",
			data: data,
		})
	}
	//报名
	toSignUpAPI(data) {
		return this.request({
			url: "/wx/course/student/application",
			data: data,
		})
	}
	//获取学员已报课程转课退课用
	getStudentCourseListAPI(data) {
		return this.request({
			url: "/wx/student/studentCourseList",
			data: data,
		})
	}
	//获取选中课程对应订单
	getStudentCourseOrderListAPI(data) {
		return this.request({
			url: "/wx/student/studentCourseOrderList",
			data: data,
		})
	}
	//转课
	studentCourseTransferOrderAPI(data) {
		return this.request({
			url: "/wx/student/studentCourseTransferOrder",
			data: data,
		})
	}
	//退课
	studentCourseRefundOrderAPI(data) {
		return this.request({
			url: "/wx/student/studentCourseRefundOrder",
			data: data,
		})
	}

}
export {
	SignUpModel
}